package com.itheima.test1;
/*门款式、制冷方式*/
public class Fridge extends HomeAppliances {
    private String doorStyle;
    private String coolingMethod;

    public String getDoorStyle() {
        return doorStyle;
    }

    public void setDoorStyle(String doorStyle) {
        this.doorStyle = doorStyle;
    }

    public String getCoolingMethod() {
        return coolingMethod;
    }

    public void setCoolingMethod(String coolingMethod) {
        this.coolingMethod = coolingMethod;
    }

    public Fridge() {
    }

    public Fridge(String brand, String type, String color, String price, String doorStyle, String coolingMethod) {
        super(brand, type, color, price);
        this.doorStyle = doorStyle;
        this.coolingMethod = coolingMethod;
    }
}
